package com.example.agriculyural.Chain;

import com.example.agriculyural.FactoryMethod.AgriculturalMachine;

public abstract class SafetyHandler {
    protected SafetyHandler nextHandler;

    public void setNextHandler(SafetyHandler handler) {
        this.nextHandler = handler;
    }

    public abstract void handleSafety(String issue, AgriculturalMachine machine);
}
